package com.ruoyi.portal.mapper;

import com.ruoyi.common.core.domain.entity.Regexregisteredservice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ServicesMapper {
  public List<Regexregisteredservice> getServicesByUserId( @Param("userId")  long userId);

  public int delUserServiceByServiceIdUserId(@Param("userId")  long userId,@Param("serviceId")  long serviceId);

  public int addUserServiceByServiceIdUserId(@Param("userId") long userId,@Param("serviceId")  long serviceId);

  public int isUserIdServiceId(@Param("userId") long userId,@Param("serviceId") long serviceId);

}
